package cl.jpavlich.mpm.model;

import org.metawidget.inspector.annotation.UiHidden;


public abstract class Command {
	protected ModPackage modPackage;
	public abstract void execute() throws Exception;
	public abstract void undo() throws Exception;
	public abstract String getCommandDescription();
	
	@UiHidden
	public ModPackage getModPackage() {
		return modPackage;
	}
	public void setModPackage(ModPackage modPackage) {
		this.modPackage = modPackage;
	}
}
